home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_61.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  95KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | earth | reckoner | sky | windowpane
OCR: Lesson 12 1-57 Nested loops It is also sometimes desirable to have more than one DO .LOOP routine going on simultaneous As with IF THEN constructions DO .LOOP operations can be nested inside one another All you have to remember is to supply one LOOP (or +LOOP for each DO within the colon definition. For example you add delay loop in the "countdown" definition above make look like the seconds are being counted down (a better way to use the neon words PAUSE or WAIT defined in source 'Interval'). Insert: 600000 DO LOOP after the dot statement inside the original DO LOOP operati ion and line: count tdown cr 600000 LOOP +LOOP UBI ion" 600000 r DO LOOP Type "countdown" and watch the seconds tick away: countdown Igniti ion Li ftoff if course another in de Finiti real ion progi pe am rhaps you cal ...